<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>入库</title>
<link
	href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
	rel="stylesheet">
</head>
<body>
	<jsp:include page="../top.jsp"></jsp:include>
	<div class="container">
		<div class="row clearfix">
			<div class="col-md-12 column">
				<form role="form" action="../stroage/addstroage" method="POST">
					<div class="form-group">
			<label>商品</label> <select name="goods">
				<c:forEach var="goods" items="${allgoods}">
					<option value="${goods.goods_id }">${goods.goods_name }</option>
				</c:forEach>
			</select>
					</div>
					<div class="form-group">
						<label>数量</label><input
							type="number" class="form-control" name="number"/>
					</div>
										<div class="form-group">
						<label>时间</label><input
							type=date class="form-control" name="localdate"/>
					</div>
					<button class="btn btn-default btn-block btn-primary" type="submit">提交</button>
				</form>
			</div>
		</div>
	</div>
	<%-- 	<div>
		<form action="" method="POST">
			<label>商品</label> <select name="goods">
				<c:forEach var="goods" items="${allgoods}">
					<option value="${goods.goods_id }">${goods.goods_name }</option>
				</c:forEach>
			</select>
		</form>
	</div> --%>
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script
		src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>